<div class="layuimini-main">

    <div class="layui-form layuimini-form">
        <div class="layui-form-item">
            <label>角色代码：</label>
            <div class="layui-input-block">
                <span class="" name="title"></span>
            </div>
        </div>
    </div>
</div>
<script>
    layui.use(function () {
        var layer = layui.layer,
            $ = layui.$;
        // 当前弹出层，防止ID被覆盖
        var parentIndex = layer.index;
    });
</script>